/* For descriptor use */
enum{
  CTXT_ = 2,
  M_    = 3,
  N_    = 4,
  MB_   = 5,
  NB_   = 6,
  LLD_  = 9,
  DLEN_ = 9,
};

#ifdef __cplusplus
extern "C"{
#endif

void Cblacs_get(int icontxt, int what, int* val);
void Cblacs_gridinit(int *icontxt, char *order, int nprow, int npcol);
void Cblacs_gridmap(int *icontxt, int *pmap, int ldpmap, int nprow, int npcol);
void Cblacs_gridinfo(int icontxt,  int* nprow, int* npcol, int* myprow, int* mypcol);
void descinit_(int* desc, int* m, int * n, int* mb, int* nb, int* irsrc, int* icsrc, 
	       int* ictxt, int* lld, int* info);
void pdlaprnt_(int* m, int *n, double* a, int* ia, int* ja, int* desca, int* irprnt, 
	       int* jrprnt, char* cmatnm, int* nout, double* work);
void pdsyevd_(char *jobz, char *uplo, int *n, double *a, int
	      *ia, int *ja, int *desca, double *w, double *z,
	      int *iz, int *jz, int *descz, double *work,
	      int *lwork, int* iwork, int* liwork, int *info);
#ifdef __cplusplus
}
#endif


